home *** CD-ROM | disk | FTP | other *** search
/ Disc to the Future 2 / Disc to the Future Part II Programmer's Reference (Wayzata Technology)(6013)(1992).bin / MAC / THINKC / 4_0 / NEWTEXTF / SOURCE_C / CTOSTR25.C < prev    next >
C/C++ Source or Header  |  1990-08-25  |  186b  |  8 lines

  1. #include "MyLibrary.h"
  2.  
  3. unsigned char    *CToStr255 (char *cstr, Str255 pstr)
  4.  
  5.             {if (!(*cstr) || CLength (cstr) > 255L)
  6.                 {*pstr = 0;
  7.                 return (pstr);}
  8.             return (CToP (cstr, pstr));}